package cn.nexd.task;

import cn.nexd.task.core.NexdAsyncTask;

/**
 * 简单的异步任务，仅仅指定返回结果的类型，不可输入参数
 */
public abstract class SimpleTask<T> extends NexdAsyncTask<Object, Object, T> {

    @Override
    protected T doInBackground(Object... params) {
        return doInBackground();
    }

    protected abstract T doInBackground();
}
